.class public final Lnbisdk/pj;
.super Ljava/lang/Object;


# direct methods
.method static constructor <clinit>()V
    .locals 0

    return-void
.end method

.method public constructor <init>()V
    .locals 0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method public static a(Lnbisdk/dn;Lnbisdk/ro;I[D[J)V
    .locals 18

    invoke-interface/range {p1 .. p1}, Lnbisdk/ro;->S()Lnbisdk/ln;

    move-result-object v2

    check-cast v2, Lnbisdk/na;

    invoke-virtual {v2}, Lnbisdk/na;->iw()I

    move-result v3

    const-wide/16 v4, 0x0

    const/4 v6, 0x0

    const/4 v7, 0x0

    const/4 v8, -0x3

    move/from16 v0, p2

    move v1, v8

    if-ne v0, v1, :cond_2

    const/16 p2, 0x0

    :goto_0
    move v15, v7

    move v7, v6

    move-wide/from16 v16, v4

    move-wide/from16 v5, v16

    move v4, v15

    :goto_1
    move/from16 v0, p2

    move v1, v3

    if-ge v0, v1, :cond_7

    move-object v0, v2

    move/from16 v1, p2

    invoke-virtual {v0, v1}, Lnbisdk/na;->aI(I)Lnbisdk/hq;

    move-result-object v8

    invoke-interface {v8}, Lnbisdk/hq;->getDistance()D

    move-result-wide v8

    add-double/2addr v5, v8

    invoke-interface/range {p1 .. p1}, Lnbisdk/ro;->S()Lnbisdk/ln;

    move-result-object v8

    move-object v0, v8

    move/from16 v1, p2

    invoke-interface {v0, v1}, Lnbisdk/ln;->aI(I)Lnbisdk/hq;

    move-result-object v8

    if-eqz v8, :cond_6

    invoke-interface {v8}, Lnbisdk/hq;->getCommand()Ljava/lang/String;

    move-result-object v9

    const/4 v10, 0x0

    invoke-virtual/range {p0 .. p0}, Lnbisdk/dn;->cF()[Ljava/lang/String;

    move-result-object v11

    invoke-virtual/range {p0 .. p0}, Lnbisdk/dn;->cE()[I

    move-result-object v12

    const/4 v13, 0x0

    move v15, v13

    move v13, v10

    move v10, v15

    :goto_2
    array-length v14, v12

    if-ge v10, v14, :cond_5

    aget-object v14, v11, v10

    if-eqz v14, :cond_0

    aget-object v14, v11, v10

    invoke-virtual {v14}, Ljava/lang/String;->length()I

    move-result v14

    if-nez v14, :cond_3

    :cond_0
    aget v13, v12, v10

    if-eqz v9, :cond_1

    invoke-virtual {v9}, Ljava/lang/String;->length()I

    move-result v14

    if-nez v14, :cond_4

    :cond_1
    move v9, v13

    :goto_3
    invoke-interface {v8}, Lnbisdk/hq;->ge()D

    move-result-wide v10

    double-to-int v8, v10

    add-int/2addr v8, v9

    :goto_4
    add-int/2addr v7, v8

    int-to-long v8, v4

    move-object v0, v2

    move/from16 v1, p2

    invoke-virtual {v0, v1}, Lnbisdk/na;->aI(I)Lnbisdk/hq;

    move-result-object v4

    invoke-interface {v4}, Lnbisdk/hq;->gf()J

    move-result-wide v10

    const-wide/16 v12, 0x3c

    mul-long/2addr v10, v12

    add-long/2addr v8, v10

    long-to-int v4, v8

    add-int/lit8 p2, p2, 0x1

    goto :goto_1

    :cond_2
    add-int/lit8 p2, p2, 0x1

    goto :goto_0

    :cond_3
    aget-object v14, v11, v10

    invoke-virtual {v14, v9}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v14

    if-eqz v14, :cond_4

    aget v9, v12, v10

    goto :goto_3

    :cond_4
    add-int/lit8 v10, v10, 0x1

    goto :goto_2

    :cond_5
    move v9, v13

    goto :goto_3

    :cond_6
    const/4 v8, 0x0

    goto :goto_4

    :cond_7
    if-eqz p3, :cond_8

    const/16 p0, 0x0

    aput-wide v5, p3, p0

    :cond_8
    if-eqz p4, :cond_9

    const/16 p0, 0x0

    move v0, v7

    int-to-long v0, v0

    move-wide/from16 p1, v0

    aput-wide p1, p4, p0

    move-object/from16 v0, p4

    array-length v0, v0

    move/from16 p0, v0

    const/16 p1, 0x2

    move/from16 v0, p0

    move/from16 v1, p1

    if-lt v0, v1, :cond_9

    const/16 p0, 0x1

    move v0, v4

    int-to-long v0, v0

    move-wide/from16 p1, v0

    aput-wide p1, p4, p0

    :cond_9
    return-void
.end method

.method public static a(Lnbisdk/ro;I[I)Z
    .locals 5

    const/4 v4, 0x1

    const/4 v3, 0x0

    invoke-interface {p0}, Lnbisdk/ro;->S()Lnbisdk/ln;

    move-result-object v0

    invoke-interface {v0}, Lnbisdk/ln;->iw()I

    move-result v0

    invoke-interface {p0}, Lnbisdk/ro;->S()Lnbisdk/ln;

    move-result-object v1

    invoke-interface {v1, p1}, Lnbisdk/ln;->aI(I)Lnbisdk/hq;

    move-result-object v1

    if-eqz v1, :cond_0

    invoke-interface {v1}, Lnbisdk/hq;->getCommand()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lnbisdk/pj;->aB(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_1

    :cond_0
    const/4 v0, -0x1

    aput v0, p2, v3

    aput v3, p2, v4

    move v0, v3

    :goto_0
    return v0

    :cond_1
    aput v3, p2, v3

    aput v3, p2, v4

    move v1, v3

    :goto_1
    if-ge v1, v0, :cond_4

    invoke-interface {p0}, Lnbisdk/ro;->S()Lnbisdk/ln;

    move-result-object v2

    invoke-interface {v2, v1}, Lnbisdk/ln;->aI(I)Lnbisdk/hq;

    move-result-object v2

    invoke-interface {v2}, Lnbisdk/hq;->getCommand()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Lnbisdk/pj;->aB(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_3

    if-ge v1, p1, :cond_2

    aget v2, p2, v3

    add-int/lit8 v2, v2, 0x1

    aput v2, p2, v3

    :cond_2
    aget v2, p2, v4

    add-int/lit8 v2, v2, 0x1

    aput v2, p2, v4

    :cond_3
    add-int/lit8 v1, v1, 0x1

    goto :goto_1

    :cond_4
    aget v0, p2, v3

    add-int/lit8 v0, v0, 0x1

    aput v0, p2, v3

    move v0, v4

    goto :goto_0
.end method

.method public static aB(Ljava/lang/String;)Z
    .locals 1

    if-nez p0, :cond_0

    const/4 v0, 0x0

    :goto_0
    return v0

    :cond_0
    const-string v0, "NC."

    invoke-virtual {p0, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v0

    goto :goto_0
.end method
